
import Vue from 'vue'
import Find from '@/views/Find'
import Friend from '@/views/Friend'
import My from '@/views/My'
import VueRouter from 'vue-router'
Vue.use(VueRouter)//vuerouter插件初始化
const router = new VueRouter({
  routes: [
    { path: '/find', component: Find },
    { path: '/friend', component: Friend },
    { path: '/my', component: My }
  ],
  linkActiveClass: 'active',
  linkExactActiveClass: 'exact-active'
})
export default router